<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{Title} (List) </title>
<link rel="stylesheet" href="../../css/mem_main.css" type="text/css">
<script language="JavaScript" src="/inc/admin_envirset.js"></script>
<script language="JavaScript">
<!--
strRowClassName = "clef";

function Account(intID){
	with(document.AccountForm){
		ID.value = intID;
		submit();
	}
}
function Del(intID, intLID){
	with(document.DelForm){
		if(confirm("{List_SureDel}")){ //您確定要刪除這筆資料！！
			ID.value = intID;
			LottoID.value = intLID;
			submit();
		}
	}
}
function Edit(intID){
	with(document.EditForm){
		ID.value = intID;
		submit();
	}
}
function Result(intID){
	with(document.ResultForm){
		ID.value = intID;
		submit();
	}
}
//-->
</script>
<style>
<!--
.red_link:link, .red_link:visited, .red_link:hover {  
	font-size: 12px; 
	color: #FF0000;
	vertical-align: bottom; 
	text-decoration: none;
}
//-->
</style>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<form method="Get" Action="" name="ListForm">
<table width="770" border="0" cellspacing="0" cellpadding="0" class="cmti">
  <tr> 
    <td>{Title}:  
	  <select name="LottoID" onchange="location.href='index.php?GameDate={ShowGameDate}&LottoID='+this.value">{LottoIDOption}</select>
	  <input type="button" value="{_Add}" class="zabutton" onClick="location.href='index.php?op=Add&GameDate={ShowGameDate}'">
      <input type="button" value="{_PreDay}" class="zabutton" onClick="location.href='index.php?GameDate={ShowPreDate}&LottoID={ShowLottoID}'">
      <input type="button" value="{_NextDay}" class="zabutton" onClick="location.href='index.php?GameDate={ShowNextDate}&LottoID={ShowLottoID}'">
	  {_Date} 
	  <input type="text" name="GameDate" size="10" class="zatexted" value="{ShowGameDate}">
	  <input type="submit" value="{_Search}" class="zabutton">
<!-- @ QAdd Start @ //-->
	  <br /><br />
  <fieldset>
    <legend>{QAdd}</legend>
<!-- @ QAdd5 Start @ //-->	  <input type="button" value="{QAddL5}" class="zabutton" onClick="location.href='index.php?op=QAdd10M&GameDate={ShowGameDate}&LottoID=5'"><!-- @ QAdd5 End @ //-->
<!-- @ QAdd6 Start @ //-->	  <input type="button" value="{QAddL6}" class="zabutton" onClick="location.href='index.php?op=QAdd10M&GameDate={ShowGameDate}&LottoID=6'"><!-- @ QAdd6 End @ //-->
<!-- @ QAdd7 Start @ //-->	  <input type="button" value="{QAddL7}" class="zabutton" onClick="location.href='index.php?op=QAdd10M&GameDate={ShowGameDate}&LottoID=7'"><!-- @ QAdd7 End @ //-->
<!-- @ QAdd8 Start @ //-->	  <input type="button" value="{QAddL8}" class="zabutton" onClick="location.href='index.php?op=QAdd10M&GameDate={ShowGameDate}&LottoID=8'"><!-- @ QAdd8 End @ //-->
  </fieldset>
<!-- @ QAdd End @ //-->
    </td>
  </tr>
</table>

<div class="ctabdv"> 
  <table width="1045" border="0" cellspacing="1" cellpadding="0" class="ctab">
    <tr class="ctiga"> 
	  <td width="60">{List_GameNo}</td>
	  <td width="60">{List_OGameNo}</td>
	  <td width="100">{List_Team}</td>
      <td width="100">{List_Date}</td>
	  <td width="100">{List_Time}</td>
	  <td width="100">{List_EndGameTime}</td>
	  <td width="42">{_Edit}</td>
	  <td width="42">{_Del}</td>
      <td width="80">{List_ChangeScore}</td>
	  <td width="300">{Number}</td>
	  <td width="60">Export</td>
    </tr>
<!-- @ Content Start @ //-->
    <tr class="clef"> 
	<td align="center">{ShowSerialNo}</td>
	<td align="center">{ShowOSerialNo}</td>
	<td>{ShowLotto}</td>
	<td align="center">{ShowDate}</td>
    <td align="center">{ShowTime}</td>
	<td align="center">{ShowEndGameTime}</td>
	<td align="center">{ShowEdit}</td>
	<td align="center">{ShowDel}</td>
    <td align="center">{ShowChangeScore}</td>
	<td>{ShowNumber}</td>
	<td align="center">&nbsp;<a href="index.php?op=Export&ID={ShowID}&LottoID={ShowItemLottoID}">{ShowExport}</a></td>
    </tr>
<!-- @ Content End @ //-->
    <tr class="cmto"> 
      <td colspan="11">{GameSum} {Sum_MNo} {GameNo}</td>
    </tr>
  </table>
</div>
</form>
<a style="color: #FF0000; font-size: 12px">* {TimeZone}</a>
<!-- @ ExportTip Start @ //--><br /><a style="color: #FF0000; font-size: 12px">* {ExportTip}</a><!-- @ ExportTip End @ //-->

<form method="Get" action="index.php" name="DelForm">
	<input type="hidden" name="op" value="Del">
	<input type="hidden" name="ID" value="">
	<input type="hidden" name="LottoID" value="">
	<input type="hidden" name="GameDate" value="{ShowGameDate}">
</form>

<form method="Get" action="index.php" name="EditForm">
	<input type="hidden" name="op" value="Edit">
	<input type="hidden" name="ID" value="">
	<input type="hidden" name="GameDate" value="{ShowGameDate}">
</form>

<form method="Get" action="index.php" name="AccountForm">
	<input type="hidden" name="op" value="Account">
	<input type="hidden" name="ID" value="">
</form>

<form method="Get" action="index.php" name="ResultForm">
	<input type="hidden" name="op" value="ImportScore">
	<input type="hidden" name="ID" value="">
	<input type="hidden" name="GameDate" value="{ShowGameDate}">
</form>
</body>
</html>
